#ifndef MYDATE_H
#define MYDATE_H
#include "mypushbutton.h"


class MYdate
{
public:
    MYdate();
    int map[10][10];
    //递归函数
    bool test(int x1,int x2,int y);

    bool canRemove(Mypushbutton* p1,Mypushbutton* p2);
    bool canLine(Mypushbutton*p1,Mypushbutton*p2);
    bool canOnecornor(Mypushbutton* p1,Mypushbutton* p2);
    bool cantwocornor(Mypushbutton* p1,Mypushbutton* p2);
    void myremove(Mypushbutton* p1,Mypushbutton* p2);
};

#endif // MYDATE_H
